﻿using System;

namespace StringFormat
{
	class Program
	{
		static void Main()
		{
			const string innerString = "first = {0}, second = {1}";
			const string outerString = "inner string = '{0}', second outer placeholder = '{1}'";

			string fullString = string.Format(outerString, innerString, "filled");
			string completeFullString = string.Format(fullString, 1, 2);

			Console.WriteLine(completeFullString);
			Console.ReadKey();
		}
	}
}
